# models.py - 基础模型
from sqlalchemy import Column, Integer, String, Date, Float, DateTime
from database import Base

class BaseModel(Base):
    __abstract__ = True
    id = Column(Integer, primary_key=True, index=True)